package com.gusto.engine.semsim.service.impl;

import com.gusto.engine.beans.model.Res;
import com.gusto.engine.neighborhood.aspects.StoreDistanceAspect;
import com.gusto.engine.semsim.exceptions.SimilarityException;
import com.gusto.engine.semsim.service.SimilarityService;
import com.gusto.engine.semsim.service.impl.SimilarityServiceImpl;

/**
 * <p>An implementation of {@link SimilarityService} 
 * that extends {@link SimilarityServiceImpl} 
 * by integrating the {@link StoreDistanceAspect} aspect.</p>
 * 
 * @author amokrane.belloui@gmail.com
 *
 */
public class SimilarityServiceDecoratedImpl extends SimilarityServiceImpl {
	
	/**
	 * {@inheritDoc}
	 */
	public void contextConfigChanged(String context) { 
		super.contextConfigChanged(context);
	}
	
	/**
	 * {@inheritDoc}
	 */
	public Double getSimilarity(String context, Res resource1, Res resource2) throws SimilarityException {
		return super.getSimilarity(context, resource1, resource2);
	}
	
}
